//
var TN_Widget = function() {
var months = ["", "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"];
return {
newWindow : true,
CreateEventRow : function(row, isAlt) {
var t = row[4].split("/");
t[0] = months[t[0]];
t[2] = ", " + t[2];
return "
" +
t[0] + " " + "" + t[1] + "" +
t[2] + " " +
row[3].substring(0,3) + " " +
row[5] + " | " +
row[0] + " " +
row[1] + " - " +
row[2] + " | " + this.btnText + "" +
" |
";
},
AddCss: function(cssUrl) {
var fileref=document.createElement("link");
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", cssUrl);
document.getElementsByTagName("head")[0].appendChild(fileref);
},
CreateTable : function(eventData,kwds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
var newTable = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
var footerLink = "";
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = "" + newTable.join('') + "" + footerLink + "
";
}
else if(document.querySelector(".tnpl_results_container") != null) {
document.querySelector(".tnpl_results_container").innerHTML = "" + newTable.join('') + "" + footerLink + "
";
}
else
document.write("" + newTable.join('') + "" + footerLink + "
");
}
};
}();
//BPW-TNSERV-04A
TN_Widget.AddCss('//s3.amazonaws.com/TNService/pl-widget/styles/tnpl-results-widget.css');
TN_Widget.CreateTable([['Randy Houser','Hollywood Casino at Charles Town Races','Charles Town, WV','Friday','5/31/2024','9:00 PM','6278109','Randy-Houser-5-31-2024'],['Randy Houser','Holiday Trav-L-Park','Virginia Beach, VA','Saturday','6/1/2024','3:00 PM','6270424','Randy-Houser-6-1-2024'],['Randy Houser & Casey Donahew','Arena at Casey Jones Park','Elizabeth, CO','Thursday','6/6/2024','6:00 PM','6329155','Randy-Houser---Casey-Donahew-6-6-2024'],['Old Town Music Festival: Randy Houser & David Nail','Murrieta Town Square Amphitheater','Murrieta, CA','Sunday','6/23/2024','12:00 PM','6381905','Old-Town-Music-Festival--Randy-Houser---David-Nail-6-23-2024'],['2024 Night in the Country Music Festival Nevada: Randy Houser, Riley Green & Bailey Zimmerman - 3 Day Pass','Lyon County Fairgrounds','Yerington, NV','Thursday','7/25/2024','TBD','5831164','2024-Night-in-the-Country-Music-Festival-Nevada--Randy-Houser--Riley-Green---Bailey-Zimmerman---3-Day-Pass-7-25-2024'],['2024 Night in the Country Music Festival Nevada: Randy Houser & Neal McCoy - Thursday','Lyon County Fairgrounds','Yerington, NV','Thursday','7/25/2024','12:00 PM','5831166','2024-Night-in-the-Country-Music-Festival-Nevada--Randy-Houser---Neal-McCoy---Thursday-7-25-2024'],['Randy Houser','Britt Festival Pavilion & Gardens','Jacksonville, OR','Friday','7/26/2024','7:30 PM','6298145','Randy-Houser-7-26-2024'],['Randy Houser','Coos County Fair','Myrtle Point, OR','Saturday','7/27/2024','8:00 PM','6391390','Randy-Houser-7-27-2024'],['Randy Houser & Sam Barber','Chase County Fair & Expo','Imperial, NE','Saturday','8/17/2024','7:00 PM','6357834','Randy-Houser---Sam-Barber-8-17-2024'],['Kickoff Jam: Carrie Underwood, Garth Brooks & Alabama - 3 Day Pass','Frank Brown Park','Panama City Beach, FL','Friday','8/30/2024','TBD','6387293','Kickoff-Jam--Carrie-Underwood--Garth-Brooks---Alabama---3-Day-Pass-8-30-2024']],'"Randy Houser"','https://www.ticketnetwork.com');